home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / Facet.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  2.8 KB  |  121 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _FACET_
  3. #define _FACET_
  4.  
  5. #ifndef _FACETB_
  6. #include "FacetB.idl"
  7. #endif
  8.  
  9. //=====================================================================================
  10. // Theory of Operation
  11. //=====================================================================================
  12.  
  13. /*
  14.   Facets hold the ephemeral information associated with the display of
  15.   a particular Frame.
  16. */
  17.  
  18. //=====================================================================================
  19. // Classes defined in this interface
  20. //=====================================================================================
  21.  
  22. interface  ODFacet;
  23.  
  24. //=====================================================================================
  25. // Classes used by this interface
  26. //=====================================================================================
  27.  
  28. interface  ODFacetIterator;
  29. interface  ODCanvas;
  30. interface  ODDragItemIterator;
  31. interface  ODFrame;
  32. interface  ODShape;
  33. interface  ODTransform;
  34. interface  ODWindow;
  35.  
  36.  
  37. //=====================================================================================
  38. // ODFacet
  39. //=====================================================================================
  40.  
  41. interface ODFacet :  ODBaseFacet
  42. {
  43.     void InitFacet(in ODFrame frame,
  44.                    in ODShape clipShape,
  45.                    in ODTransform externalTransform);
  46.  
  47.  
  48. #ifdef __SOMIDL__
  49.   implementation
  50.   {
  51.     override:
  52.         somInit,
  53.         somUninit,
  54.         Purge,
  55.  
  56.         GetFrame,
  57.         CreateEmbeddedFacet,
  58.         RemoveFacet,
  59.         MoveBefore,
  60.         MoveBehind,
  61.         GetContainingFacet,
  62.         CreateFacetIterator,
  63.         GetClipShape,
  64.         ChangeClipShape,
  65.         GetAggregateClipShape,
  66.         GetWindowAggregateClipShape,
  67.         InvalidateAggregateClipShape,
  68.         GetActiveShape,
  69.         ChangeActiveShape,
  70.         GetExternalTransform,
  71.         ChangeExternalTransform,
  72.         InternalTransformChanged,
  73.         GetFrameTransform,
  74.         GetContentTransform,
  75.         GetWindowFrameTransform,
  76.         GetWindowContentTransform,
  77.         InvalidateAggregateTransforms,
  78.         HasCanvas,
  79.         GetCanvas,
  80.         SetCanvas,
  81.         GetWindow,
  82.         SetWindow,
  83.         GetPartInfo,
  84.         SetPartInfo,
  85.         DragEnter,
  86.         DragWithin,
  87.         DragLeave,
  88.         Drop,
  89.         Update,
  90.         Invalidate,
  91.         Validate,
  92.         Draw,
  93.         DrawChildren,
  94.         DrawChildrenAlways,
  95.         DrawnIn,
  96.         InvalidateActiveBorder,
  97.         DrawActiveBorder,
  98.         MouseEnter,
  99.         MouseWithin,
  100.         MouseLeave,
  101.         ContainsPoint,
  102.         ActiveBorderContainsPoint,
  103.         IsSelected,
  104.         SetSelected,
  105.         GetHighlight,
  106.         ChangeHighlight;
  107.     releaseorder:
  108.         InitFacet,
  109.         reserved1,
  110.         reserved2,
  111.         reserved3;
  112.  
  113.     majorversion = 1; minorversion = 0;
  114.  
  115.  
  116.   };
  117. #endif
  118. };
  119.  
  120. #endif //# _FACET_
  121.